package com.fiberhome.app.network.socket;

import java.io.InputStream;

/**
 * tcp packet protocal
 * Created by Deed on 2018/1/9.
 */

public interface TcpPacket {
    /**
     *
     * @param sendData String
     * @return byte[]
     */
    byte[] sendBytes(String sendData);

    /**
     *
     * @param is InputStream
     * @return String
     */
    String getResult(InputStream is);
}
